home *** CD-ROM | disk | FTP | other *** search
/ MacWorld 1999 August / Macworld (1999-08).dmg / From Macworld Readers / FREE Scripts / FREE Guides / FREE Guide Macintosh / FREE Guide • Macintosh 3.1.sea / FREE Guide • Macintosh 3.1.rsrc / TEXT_134.txt < prev    next >
Encoding:
Text File  |  1998-12-04  |  23.6 KB  |  441 lines

  1.  
  2.  
  3.  
  4.  
  5. CRASH SURVIVAL
  6.  
  7.  
  8.  
  9. ¬†           Sooner or later your Mac will crash ‚Äî the software fails, often for inexplicable 
  10.              reasons, or simply because an application or system file came into conflict with 
  11.              another piece of software.
  12.  
  13. After a crash a Mac will often startup as usual ‚Äî if you think that an extra extension or control panel may have caused the original problem you can prevent them loading by pressing Shift during the startup process. Hopefully, all will be well, even though you may have to reinstall an application or replace a damaged document.
  14.  
  15. ¬¥  A huge number of Mac problems are caused by conflicts between extensions, control 
  16.        panels and other applications. If in doubt, throw it out! 
  17.  
  18. √π   See the Extensions chapter for details about conflicts
  19.  
  20. The worst scenario is a flashing question mark icon at startup, possibly indicating damage to the data on the drive. You can often fix this by inserting the Disk Tools diskette that came with the System Installer, and running Disk First Aid. If this fails you must mentally prepare yourself for formatting the drive and reinstalling all the software. You won‚Äôt need to do the latter if you‚Äôve got a full backup for the drive ‚Äî you did do it didn‚Äôt you?
  21.  
  22. √π   See the Repairing Damaged Disks section below for how to restore a drive
  23.  
  24.  
  25.  
  26.  
  27.  
  28. The Startup Process
  29. qqqqqqqqqqqqqqq
  30.  
  31.  
  32. ¬†           When a Mac is turned on the startup initialisation process begins. The Power On 
  33.              Self Test (POST) checks both hardware and RAM. If sucessful the Mac produces a 
  34.              C major chord, ‚ÄòQuadra‚Äô sound or similar sound.
  35.  
  36. The Startup Manager in ROM then searches for a startup disk in the following order:-
  37.  
  38.        z     Internal floppy  
  39.        z     Second internal floppy, if present  
  40.        z       Drive selected by the Startup Disk control panel
  41.        z     Internal SCSI hard disk (SCSI ID = 0)
  42.        z      External SCSI hard disk 
  43.        z     Internal SCSI hard disk (again) 
  44.  
  45. When a valid system is found it displays a Happy Mac icon, reads the Boot Blocks and then loads the system into memory.
  46.  
  47. ¬†            Any files in the System Folder called StartUpScreen or Startup Movie are then 
  48.              executed. You‚Äôll have to create these files if you want them ‚Äî  StartUpScreen is a 
  49.              special file containing a PICT resource and Startup Movie is a QuickTime movie file.
  50.  
  51. Once these files are launched the machine loads the contents of the Extensions folder followed by files in the Control Panels folder. Any applications in the Startup Items folder are launched and the Finder starts.
  52.  
  53. ¬¥  The Mac II and IIx computers use two batteries ‚Äî one for the PRAM and another for 
  54.        startup. If your Mac won‚Äôt start the startup battery  may need replacing! 
  55.  
  56.  
  57.  
  58. Controlling the Mac during Startup
  59. wwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwww
  60.  
  61. Ô£ø     By holding down keys during startup you can change your Mac‚Äôs behaviour:-
  62.  
  63.  
  64. Shift                                                                                                                    
  65.  
  66. This stops the loading of any extensions or control panels with INIT codes that modify the system at startup ‚Äî this trick is useful when you have those really difficult problems! It also stops files in the Startup Items folder from opening. 
  67.  
  68.  
  69. Space                                                                                                                   
  70.  
  71. If you have Extensions Manager or similar this switches you into it. You can then choose any extensions or control panels that you wish to be loaded. Your choice stays in force (even after restart or shutdown) until you use Extensions Manager or its equivalent again.
  72.  
  73.  
  74. Option                                                                                                                 
  75.  
  76. If pressed after all of the extensions and control panels have loaded you‚Äôll be presented with a clean Desktop. If pressed at the right time any files in the Startup Items folder will  be stopped in their tracks!
  77.  
  78.  
  79. Option-‚Ć                                                                                                               
  80.  
  81. This rebuilds the Desktop, ensuring that the Desktop files keep track of all applications and associated documents. You should only need to rebuild the Desktop when files appear with uncharacteristic generic icons or aren‚Äôt recognised by their parent application.
  82.  
  83. Some extensions and control panels may upset the rebuilding process. If this happens you should use Extensions Manager to disable them prior to rebuilding. Macintosh Easy Open should be enabled if you intend using it later. Once the Desktop is rebuilt you can turn all your extensions back on. It‚Äôs worth noting that the Mac automatically rebuilds the Desktop every time you enable Macintosh Easy Open after previously working without it.
  84.  
  85. When you rebuild the Desktop the Desktop DB (database) file is updated. If it‚Äôs corrupted you can delete it using a special utility. Alternatively you can make the file visible and trash it. The Finder will then automatically build an entirely new file at startup.
  86.  
  87. √Ö      If Desktop DB is deleted all comments in all Get Info windows is lost! 
  88.  
  89. ¬¥  The Desktop on a diskette or removable disk can be rebuilt by holding down ‚Ć-Option
  90.        whilst inserting the disk.
  91.  
  92.  
  93. Shift-‚Ć-P-R                                                                                                            
  94.  
  95. This zaps (clears) the parameter RAM (PRAM), a battery-backed area of memory whose functions include assembling the Desktop. No dialog appears after pressing these keys.
  96.  
  97.  
  98. Shift-Option-‚Ć-Delete (DOCS)                                                                                   
  99.  
  100. This forces a Mac to startup from floppy disk or an external drive instead of its internal drive (whose SCSI ID = 0), irrespective of any setting in the Startup Disk control panel. This can be extremely useful when dealing with system problems.
  101.  
  102.  
  103. Mouse button                                                                                                          
  104.  
  105. This ejects any floppy disk, even one containing a System Folder, so preventing the Mac  from using it for startup.
  106.  
  107.  
  108.  
  109. Startup Responses
  110. wwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwww
  111.  
  112. When a Mac is started it may shows one or more of four icons:-
  113.  
  114.  
  115. Happy Mac                                                                                                           
  116.  
  117. ¬†            Indicates the Mac has passed its POST and has found a valid system. It should be 
  118.              followed by the Welcome to Macintosh window or by images contained in a 
  119.              StartUpScreen or StartUp Movie file.
  120.  
  121. The Desktop should appear after all the required system files and the contents of the Startup Items folder have been loaded.
  122.  
  123. In some instances the Happy Mac soon disappears and is followed after some time by a Query Disk icon (see below). This may indicate that the Mac has found a valid system but can‚Äôt read the Boot Blocks due to damaged formatting of the drive. The only solution is to format the drive from scratch ‚Äî other strategies don‚Äôt work!
  124.  
  125. Extensions or control panels that conflict with each other may cause a crash at startup after the appearance of a Happy Mac, usually whilst the Welcome to Macintosh window or equivalent is displayed. If this happens you should use Extensions Manager or a similar utility to disable the offending item. You may be able to identify the problem by observing which icon appears on the screen just before the crash.
  126.  
  127. If you still get crashes at startup you should try each of the following:-
  128.  
  129.        z     Disable all extensions and control panels
  130.        z     Rebuild the Desktop
  131.        z     Check for viruses
  132.        z     Re-install the system
  133.        z     Zap the PRAM
  134.  
  135. Other problems, such as a flashing Happy Mac or an empty box instead of Welcome to Macintosh, may be solved by trashing Finder Preferences in the Preferences folder.
  136.  
  137.  
  138. Sad Mac                                                                                                                
  139.  
  140. ¬†            Indicates the Mac has failed its POST ‚Äî a G# major ascending chord, a ‚Äòcrash‚Äô or an 
  141.              instrument sound may also be produced. Failure may be due to problems with 
  142.              system software or a hardware fault.
  143.  
  144. You should disconnect peripheral devices, particularly SCSI drives, and try again. If that fails, try removing all additional hardware, including expansion cards, and start again. Following this you could try starting with the Disk Tools diskette that comes as part of the System Installer package. If this doesn‚Äôt even work you may have to visit an engineer!
  145.  
  146. Some machines display Sad Mac numbers which can indicate the nature of a hardware fault. These only give clues to the problem that may become confused by software errors. Here are some examples:-
  147.  
  148.  
  149.              00000000
  150.              00000002
  151.              00000003           All indicating RAM error
  152.              00000004
  153.              0000000E
  154.  
  155.              00000001           ROM error
  156.              0000000F            Other hardware failure
  157.  
  158.  
  159. All of these could be system problems, especially if accompanied by sounds. But they could also be caused by peripheral devices such as monitors, hard disks or expansion cards.
  160.  
  161. The sounds a Mac generates provide further clues. Sadly they can also be masked by software problems! These are for a Mac II:-
  162.  
  163.  
  164.              Sound                                                               Possible Fault               
  165.  
  166.              No beep, no display                                           ROM or Power Supply
  167.              Single note                                                       Logic board or RAM
  168.              One harsh note, rising scale                               RAM Bank A
  169.              One harsh note, rising scale, not sequential          RAM Bank B
  170.              Four notes                                                       System or Disk Drive
  171.              Rising sounds ending with high pitched note           Video Display
  172.              Eight notes                                                       Memory
  173.  
  174.  
  175. ¬¥  You can force your Mac to fail it‚Äôs RAM check by pressing the Interrupt button 
  176.        immediately after startup ‚Äî it won‚Äôt harm it! 
  177.  
  178. Typical sounds produced by other models on failure include:-
  179.  
  180.              Mac II                  Chimes 
  181.              Quadra AV             Drums
  182.              Mac LC                 Flute
  183.              PowerMac             Car Crash
  184.  
  185.  
  186. Query Disk                                                                                                             
  187.  
  188. ¬†               Indicates the Mac has passed its POST but can‚Äôt find a valid system on any drive. 
  189.                 You‚Äôll have to reinstall your system! If preceded by a Happy Mac this indicates  
  190.                 a possible problem with the formatting of the startup drive.
  191.  
  192.  
  193. If the drive selected in the Startup Disk control panel isn‚Äôt available this icon may appear momentarily before the machine discovers a valid system on another drive. When it finds a system the Happy Mac will finally appear. If you don‚Äôt have another drive just insert the Disk Tools diskette or a removable cartridge containing a valid system. This should start up the machine ‚Äî you don‚Äôt have to restart or shut down again!
  194.  
  195. Sometimes a drive with a valid system will work normally when starting from another drive but presents a Query Disk when you try start up from the disk itself. If this happens you should format the drive and then copy  or reinstall the system onto the drive. Just reinstalling the system or repairing the disk without formatting won‚Äôt work!
  196.  
  197.  
  198. Cross Disk                                                                                                               
  199.  
  200. ¬†               Indicates the Mac has passed its POST but can‚Äôt retrieve intelligible data from the 
  201.                 default hard disk drive (usually the internal drive).
  202.  
  203.  
  204. This can be a result of problems with devices connected to the SCSI port ‚Äî try pulling out the connector! If this doesn‚Äôt work your drive data is probably damaged. You may have to repair your hard disk (see below). You‚Äôll have to restart with the Disk Tools diskette to begin the repairs.
  205.  
  206.  
  207.  
  208.  
  209. Repairing Damaged Disks 
  210. qqqqqqqqqqqqqqqqqqq
  211.  
  212.  
  213. ¬†              Startup problems are often due to damaged or corrupted data on the Mac‚Äôs 
  214.                internal disk drive.
  215.  
  216.  
  217. Don‚Äôt tamper with your hard disk unless you really need to!
  218.  
  219. If your Mac doesn‚Äôt have startup difficulties, and your problems are with a particular file or application it‚Äôs probably due to one or more corrupt files. Your first line of attack should be to find the offending item and remove it. 
  220.  
  221. If the problem‚Äôs restricted to a single document you may need to repair the file or dispose of it! If its only one application the application file may be damaged (in which case you‚Äôll need to install it again) or it‚Äôs incomapatible with your current system!
  222.  
  223. Applications often create special files in the System Folder ‚Äî particularly in the Preferences folder. You can eliminate these from your investigations by quitting the application, dragging the files out of the folder (and onto the Desktop) and restarting the application ‚Äî in some cases you may need to restart the Mac as well. If this doesn‚Äôt help you can return the files to their original location.
  224.  
  225.  
  226.  
  227. Disk Repair Software
  228. wwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwww
  229.  
  230. All of the following are desirable if you want to repair your drive properly:-
  231.  
  232.          z     diskette containing a system plus disk utilities including:-
  233.                SCSI Probe, Disk First Aid and HD SC Setup or Disk Setup
  234.  
  235.          z     disk diagnostics and repair application such as:-
  236.                Disk Doctor (Norton Utilities) or CP DiskFix (MacTools)
  237.  
  238.          z     format recovery application such as:-
  239.                File Saver (Norton Utilities) or CP Undelete (MacTools)
  240.  
  241.          z     disk formatting application such as:-
  242.                Apple HD SC Setup, Disk Setup, HDT Primer (HD Toolkit) or SpotOn
  243.  
  244. You should use Apple HD SC Setup for a SCSI drive and Disk Setup for an IDE mechanism.
  245. A format recovery application shouldn‚Äôt be needed if you have backups of everything!
  246.  
  247.  
  248.  
  249. Getting the Mac started
  250. wwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwww
  251.  
  252. ¬†            You should be able to start the Mac using a diskette containing a system and 
  253.               disk utilities. For initial tests you can use the Disk Tools diskette that comes with 
  254.               the System Installer software.
  255.  
  256. √Ö       Always use a copy of your Disk Tools diskette ‚Äî it can get damaged whilst in use!
  257.  
  258. Àú      If you have insufficient room on a diskette for the System Folder and all of the disk 
  259.       utilities you can replace the  Finder file by  FaberFinder ‚Äî it takes 440 K less disk space!
  260.  
  261. √Ö       If your machine won‚Äôt start from diskette it may have a hardware fault or the diskette 
  262.       may be damaged!
  263.  
  264. Once started, the Mac may automatically make minor repairs to the hard disk, a process similar to rebuilding the desktop.
  265.  
  266.  
  267.  
  268. Making Repairs
  269. wwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwww
  270.  
  271.  ¬†            To repair a drive you must begin with the utilities on the diskette. Follow this 
  272.                sequence to avoid any problems:-
  273.  
  274.  
  275.          z     Use Disk First Aid - several attempts may be needed 
  276.          z     Use HD SC Setup, Disk Setup or a similar utility to install new drivers 
  277.                √Ö   You must use the correct software to install drivers on a hard disk!  
  278.          z     Rebuild the Desktop 
  279.          z     Replace the System and Finder ‚Äî a Clean Install can be used 
  280.          z     Zap the PRAM
  281.          z     Check the PRAM batteries   ‚Äî if possible
  282.          z     Resolve conflicts between extensions or control panels 
  283.          z      Check for clashes in SCSI ID numbers 
  284.          z     Use MacTools or File Saver to repair any damaged files
  285.  
  286.  
  287. This is only a rough guide ‚Äî for example, if you‚Äôve just installed new drives you should first check their SCSI IDs. If you‚Äôve recently introduced new extensions or control panels you should check these first to ensure they don‚Äôt clash.
  288.  
  289. If a disk appears on the Desktop but won‚Äôt start up you could try using Disk Doctor to repair the Boot Blocks and then install a new system. In many cases it‚Äôs quicker and more effective to format the drive from scratch before installing the system ‚Äî but not if it still contains data that you desperately need!
  290.  
  291.  
  292.  
  293. Mounting Hard Disks
  294. wwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwww
  295.  
  296. ¬†              If a drive doesn‚Äôt appear on the Desktop it‚Äôs failing to mount.
  297.                Try each of the following in sequence:-
  298.  
  299.          z     Use SCSI Probe to see if there is a hardware problem  
  300.          z     Rebuild the Desktop 
  301.          z     Zap the PRAM 
  302.          z     Use Disk First Aid ‚Äî several attempts may be needed 
  303.          z     Use HD SC Setup, Disk Setup or a similar utility to install new drivers 
  304.                √Ö   You must use the correct software to install drivers on a hard disk!  
  305.          z      Run Disk Doctor or similar from a floppy ‚Äî try up to 5 times 
  306.          z     Use MacTools or File Saver to repair any damaged files 
  307.  
  308.  
  309.  
  310. Recovering Files
  311. wwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwww
  312.  
  313. ¬†            Having got your hard drive to work you‚Äôll need to check that your files are intact 
  314.              ‚Äî  at this point it‚Äôs too late to worry about your backup methods!
  315.  
  316.  
  317. If all files are present and correct you‚Äôve nothing to worry about anyway. But if some, or all, are missing (or you‚Äôve had particularly serious problems) you should erase the disk and begin again ‚Äî but only if you‚Äôve got a comprehensive set of backup disks! This is preferable to the dubious process of recovering files from your damaged drive.
  318.  
  319. The original data may not be visible on the drive because either the files themselves or the directory has been damaged. If you haven‚Äôt got any backup don‚Äôt erase the disk. Instead, use a recovery utility such as File Saver to reconstruct the files using either a Directory Scan or Volume Scan. The unerased files can then be transferred to floppy disk.
  320.  
  321. √Ö         Don‚Äôt transfer reconstructed files back onto your hard disk drive ‚Äî
  322.        you‚Äôll overwrite other useful material!
  323.  
  324. Having saved your files you can use HD SC Setup or a similar application to erase the disk using a high level format. Now you can proceed with System Installation  ‚Äî only after that can you replace all your applications and files to their original locations!
  325.  
  326.  
  327.  
  328.  
  329. The Mac in Operation 
  330. qqqqqqqqqqqqqqq
  331.  
  332.  
  333. Controlling the Mac
  334. wwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwww
  335.  
  336. Ô£ø  Whilst in use your Mac can be controlled using the following keys:-
  337.  
  338.  
  339. ‚Ć-Power On                                                                                                          
  340.  
  341. Provides an interrupt identical to the Interrupt button.
  342.  
  343.  
  344. ‚Ć-Control-Power On                                                                                                
  345.  
  346. Provides a reset identical to the Reset button.
  347.  
  348.  
  349. Interrupt button                                                                                                      
  350.  
  351. Often at the rear of the machine and designated by a circular symbol, this intercepts the operation of the processor. It‚Äôs only useful if your Mac has debugging software such as MacsBug, supplied by the Apple Programmers and Development Association (APDA). To use it just put the MacsBug file in your System Folder and restart your machine.
  352.  
  353.  
  354. Reset button                                                                                                         
  355.  
  356. This is adjacent to the interrupt button and is designated by a < symbol. It forces the machine into restart and all data in memory is lost. You should only use it when there‚Äôs no other way to get out of a crash.
  357.  
  358.  
  359. ‚Ć-Option-Escape                                                                                                    
  360.  
  361. This forces the current application to quit, only usually necessary when there‚Äôs no other means of escape! All the application‚Äôs data in memory is lost. Since this isn‚Äôt a very tidy fix you must restart or shutdown at the earliest opportunity!
  362.  
  363.  
  364. Àú          If a square of random pixels appears in place of a cursor or icon you should shut 
  365.        down immediately!
  366.  
  367.  
  368.  
  369. Crashes
  370. wwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwwww
  371.  
  372. ¬†              A crash occurs when a software request generates an unexpected result! They 
  373.                 come in a two basic forms:-
  374.  
  375.  
  376. The Bomb                                                                                                             
  377.  
  378. This shows a dialog, usually with a cryptic or erroneous message. Don‚Äôt  the message too seriously ‚Äî after all, it was produced as all the software collapsed!
  379.  
  380. In theory you may have a choice between Restart and Continue. In practice most applications don‚Äôt include the necessary routines to make this work.
  381.  
  382. When you choose Restart in the dialog all data is lost. If the Restart button doesn‚Äôt respond you‚Äôll have to use the physical Reset button instead. Should you manage to make the Continue button work it‚Äôs advisable to restart the Mac as soon as possible.
  383.  
  384.  
  385. The Freeze                                                                                                            
  386.  
  387. No dialog appears and you can‚Äôt move the mouse pointer. Sometimes the pointer is locked into an endless stopwatch mode or disappears entirely.
  388.  
  389. In some circumstances the keyboard may still work. You may be able to:-
  390.  
  391.          z     Save open files or close applications by pressing ‚Ć-S or ‚Ć-Q. 
  392.  
  393.          z     Press ‚Ć-. to stop the current operation and then save your document.
  394.  
  395.          z     Press Option-‚Ć-Esc to exit the current application ‚Äî but then you won‚Äôt be 
  396.                  able to save any open documents!
  397.  
  398. After this it‚Äôs best to shut down, by the Special menu if possible, wait 10 to 20 seconds (or more) and then turn the machine on again.
  399.  
  400.  
  401. Preventing Crashes                                                                                                
  402.  
  403. If you suffer regularly from crashes in several applications you should:-
  404.  
  405.          z     Rebuild the Desktop
  406.          z     Disable all extensions and control panels
  407.          z     Check for viruses
  408.          z     Check for duplicates of the System Folder
  409.          z     Reinstall the system
  410.          z     Zap the PRAM
  411.  
  412.  
  413. Àú          If you lock an application it‚Äôs less likely to be damaged by a virus.
  414.  
  415.  
  416.  
  417.  
  418. Shut Down & Restart
  419. qqqqqqqqqqqqqqq
  420.  
  421.  
  422. Shutdown clears the memory except for 256 bytes of Parameter RAM (PRAM) that‚Äôs used for assembling the Desktop.
  423.  
  424. Restart is a software reset that directs the processor back to its starting point. Although the main memory may not be cleared, and corrupt data can remain, this should be overwritten as the machine is used.
  425.  
  426. Prior to shutdown or restart the Mac ensures that all files are correctly saved or closed, that any items in the Shutdown Items folder are implemented and that the Desktop folder and PRAM are properly updated. The size and position of Finder windows are remembered so that they‚Äôll appear correctly the next time you use the machine.
  427.  
  428. √Ö      If you simply switch off your Mac, or press the Restart button, all data is lost and the 
  429.        Desktop folder is not updated.  The next time you start the Mac you‚Äôll see a warning 
  430.        message. The dialog closes  automatically after two minutes and startup continues.  
  431.        This warning can be turned off in the General Controls control panel.  
  432.  
  433. √Ö      Following an emergency switch off it‚Äôs best to wait 10 to 20 seconds to let the memory 
  434.        clear before turning on again.
  435.  
  436. ¬¥  Using Restart or Shutdown is the only way to ensure that the Desktop reappears with 
  437.        windows in the correct position.
  438.  
  439.  
  440.  
  441. ¬©Ray White. All Rights Reserved 1997